home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 7751 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  966 b 

  1. Path: news.uni-c.dk!news
  2. From: Anders <scc0808@euroconnect.dk>
  3. Newsgroups: comp.lang.c++
  4. Subject: streambuf with automatic de/compression
  5. Date: Mon, 19 Feb 1996 12:24:05 -0800
  6. Organization: Scandinavian Computer Club
  7. Message-ID: <3128DC65.7591@euroconnect.dk>
  8. NNTP-Posting-Host: river1.euroconnect.dk
  9. Mime-Version: 1.0
  10. Content-Type: text/plain; charset=us-ascii
  11. Content-Transfer-Encoding: 7bit
  12. X-Mailer: Mozilla 2.0 (Win16; I)
  13.  
  14. I'm trying to write an streambuf class that automatically compresses 
  15. input and decompresses output. It's constructor would take another 
  16. streambuf as argument for defining the final in/output.
  17. I have looked at the include file but couldn't based on this limited 
  18. information work out which virtual functions should be rewritten and in 
  19. which way, to allow buffered access. I have reasoned that only the 
  20. underflow() & overflow() functions should be used for non-buffered 
  21. throughput.
  22. Best regards,
  23.     Anders Borum - scc0808@euroconnect.dk
  24.